package data.model;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
/**
 *
 * @author zhenia
 */
public class Airport {

    private String id;
    private String name;
    private double taxes;
    private Place place;
    private int annual_number_of_passengers;

    public Airport() {
    }

    public Airport(String id, String name, double taxes, int annual_number_of_passengers, Place place) {
        this.id = id;
        this.name = name;
        this.taxes = taxes;
        this.place = place;
        this.annual_number_of_passengers = annual_number_of_passengers;
    }

    public int getAnnual_number_of_passengers() {
        return annual_number_of_passengers;
    }

    public void setAnnual_number_of_passengers(int annual_number_of_passengers) {
        this.annual_number_of_passengers = annual_number_of_passengers;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Place getPlace() {
        return place;
    }

    public void setPlace(Place place) {
        this.place = place;
    }

    public double getTaxes() {
        return taxes;
    }

    public void setTaxes(double taxes) {
        this.taxes = taxes;
    }

    @Override
    public String toString() {
        return "Airport{" + "id=" + id + ", name=" + name + ", taxes=" + taxes + ", place=" + place + ", annual_number_of_passengers=" + annual_number_of_passengers + '}';
    }
}
